<h1>New Task</h1>

<%= form_tag :action => 'create' %>



<label for="task_name">
		Task name
</label>:<%= text_field 'tasks', 'task_name' %>       

<%= hidden_field 'tasks','user_id', :value => @user_id%>

<%= submit_tag "Create Task" %>



<br/><br/>
<%= link_to 'Back', {:action => 'list'} %>
